<template>
  <div>
    <el-button type="primary" @click="getPdf()">生成报告</el-button>
    <div id="pdfDom">
      <table-view></table-view>
      <img :src="imgPath" alt="">
    </div>

    
  </div>
</template>

<script>
import tableView from "./tableView";
export default {
  data() {
    return {
       htmlTitle: '种猪遗传信息表',
       imgPath:"http://192.168.120.86/group1/M00/02/CE/wKh4Vl5Ddu2AbyPIAAC8RQ7yuuw662.jpg",
       screenshotImage:''
    };
  },
  components: {
    tableView
  },
  created() {},
  methods: {}
};
</script>

<style scoped lang="scss">
</style>
